namespace NGIS.Model
{
	public struct SoftwareRequirement
	{
		public string requirementKey;

		public string requirementValue;

		public string requirementPlatform;

		public bool compareOther(SoftwareRequirement pRequirement)
		{
			if (requirementKey != pRequirement.requirementKey)
			{
				return false;
			}
			if (requirementValue != pRequirement.requirementValue)
			{
				return false;
			}
			if (requirementPlatform != pRequirement.requirementPlatform)
			{
				return false;
			}
			return true;
		}

		public static bool operator ==(SoftwareRequirement srA, SoftwareRequirement srB)
		{
			return srA.compareOther(srB);
		}

		public static bool operator !=(SoftwareRequirement srA, SoftwareRequirement srB)
		{
			return !(srA == srB);
		}
	}
}
